
Ext.define("PrjAPLean.view.bcd.paview.Main",{
    extend: "Ext.panel.Panel",
    title: "PA明细",
    titleAlign: "center",
    requires: [
        "PrjAPLean.view.bcd.paview.MainController",
        "PrjAPLean.view.bcd.paview.MainModel"
    ],

    controller: "bcd-paview-main",
    viewModel: {
        type: "bcd-paview-main"
    },

    items:[
        Ext.create("PrjAPLean.view.bcd.paview.requestForm"),
        Ext.create("PrjAPLean.view.bcd.paapply.RequestDetailsTable"),
        Ext.create("PrjAPLean.view.bcd.paview.ApproveLogTable"), {
            xtype: "panel",
            buttonAlign: "center",
            buttons: [{
                text: "Print"
            }, {
                text: "Submit"
            }]
        }
    ]
});
